home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / dos_win / winsock / maillist / 94-03.Z / 94-03 / text0220.txt < prev    next >
Encoding:
Text File  |  1994-03-30  |  6.6 KB  |  156 lines

  1. I'm running trumpet winsock with serweb3 and mosaic has a problem grabbing
  2. files via http:\\ from the machine its running on. The data transfer is 
  3. extremely slow. I've tried this using Cello with no problems. Any ideas?
  4.  
  5.  
  6. thanks,
  7. scott 
  8. From news@bigblue.oit.unc.edu Thu Mar 17 13:50:19 1994
  9. Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  10.           id AA08779; Fri, 18 Mar 1994 00:30:55 -0500
  11. Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
  12.           id AA12031; Fri, 18 Mar 1994 00:27:38 -0500
  13. Received: from GATEWAY by bigblue with netnews
  14.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  15. To: winsock@sunsite.unc.edu
  16. Date: Thu, 17 Mar 1994 13:50:19 GMT
  17. From: ccahdm@beluga.upe.ac.za (Donald Munro)
  18. Message-Id: <ccahdm.27.008CD09B@beluga.upe.ac.za>
  19. Organization: University of Port Elizabeth Computing Centre
  20. Sender: ses
  21. Subject: Winsock Chess Beta Release
  22.  
  23. I have uploaded a beta release of my Winsock Chess program to WUARCHIVE (CICA 
  24. don't seem to be accepting uploads at the moment).  It allows two players to 
  25. play chess against each over over a Winsock supporting network.  It it 
  26. freeware and comes with the source which based on the GNU Chess for Windows 
  27. source for checking validity of moves etc. 
  28.  
  29. Any bug reports and/or suggestions are welcome.
  30.  
  31. Donald Munro (ccahdm@beluga.upe.ac.za)
  32. Computing Centre, University of Port Elizabeth
  33. From news@bigblue.oit.unc.edu Thu Mar 17 14:09:03 1994
  34. Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  35.           id AA08786; Fri, 18 Mar 1994 00:30:57 -0500
  36. Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
  37.           id AA08679; Fri, 18 Mar 1994 00:30:27 -0500
  38. Received: from GATEWAY by bigblue with netnews
  39.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  40. To: winsock@sunsite.unc.edu
  41. Date: Thu, 17 Mar 1994 19:09:03 EST
  42. From: jmdaluz@kquest.com (Jose M. daLuz)
  43. Message-Id: <jmdaluz.2.006882E9@kquest.com>
  44. Organization: KnowledgeQuest Online Research
  45. Sender: ses
  46. Subject: Internet Tour Guide's Chameleon:Compressed SLIP?
  47.  
  48. I noticed that there's a new "Internet Tour Guide for Windows" which contains 
  49. a limited version of Netmanage Chameleon.  Does anyone know if the SLIP 
  50. support in this package includes header compression?
  51.  
  52. Thanks in advance.
  53.  
  54.  
  55.  
  56. *************************************************************
  57. * Jose M. daLuz                  * Voice:    (508) 996-6101 *
  58. * KnowledgeQuest Online Research * Fax:      (508) 996-6215 *
  59. * Internet: jmdaluz@kquest.com   * MCI Mail:       639-1229 *
  60. *************************************************************
  61. From news@bigblue.oit.unc.edu Thu Mar 17 13:40:19 1994
  62. Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  63.           id AA08804; Fri, 18 Mar 1994 00:31:01 -0500
  64. Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
  65.           id AA11976; Fri, 18 Mar 1994 00:27:27 -0500
  66. Received: from GATEWAY by bigblue with netnews
  67.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  68. To: winsock@sunsite.unc.edu
  69. Date: Thu, 17 Mar 1994 13:40:19 GMT
  70. From: ccahdm@beluga.upe.ac.za (Donald Munro)
  71. Message-Id: <ccahdm.26.0083A97F@beluga.upe.ac.za>
  72. Organization: University of Port Elizabeth Computing Centre
  73. Sender: ses
  74. References: <stevenmz.35.0001149F@teleport.com>
  75. Subject: Re: WINSOCK.DLL - Determining IP address
  76.  
  77. In article <stevenmz.35.0001149F@teleport.com> stevenmz@teleport.com (Steven M. Ziuchkovski) writes:
  78. >From: stevenmz@teleport.com (Steven M. Ziuchkovski)
  79. >Subject: WINSOCK.DLL - Determining IP address
  80. >Date: Wed, 16 Mar 1994 01:04:49
  81.  
  82. >I'm just starting out programming with the WINSOCK.DLL. I've got a few files 
  83. >from rhino.microsoft.com, and did a LOT of reading, but the documentation does 
  84. >not seem to be that good (well, to me).
  85.  
  86. >Anyway, I'm trying to take a string (such as 'oak.oakland.edu') and determine 
  87. >it's numeric IP address (141.210.10.117) as a small excersize for myself to 
  88. >get started. I've gotten a small program that uses WSAStartup to determine the 
  89. >number of sockets available (szMaxSockets), etc. Then, I use GetHostByName to 
  90. >fill out a HostEnt record.
  91.  
  92. The hostent structure hostent->h_addr which is actually a macro for the first 
  93. entry in an array of host addresses is not very well documented.  The 
  94. definition says, if I recall correctly, that it is a char FAR ** whereas in 
  95. actual fact its a pointer to an unsigned long containing the internal 
  96. representation of the IP address.  
  97. IThe following code should do the trick (this is blocking code - it is 
  98. slightly more complex to use the WSAgethost.. calls) :
  99.  
  100. unsigned long ulIpAddr;     
  101. unsigned long FAR *lpulIpAddr;
  102. ..
  103. ..
  104. if ( (lphostent = gethostbyname(lpszServerIPAddr)) == (LPHOSTENT)0L)
  105.     { ulIpAddr = inet_addr(lpszServerIPAddr);
  106.       if ( (lphostent = gethostbyaddr(&ulIpAddr,4,PF_INET)) == (LPHOSTENT)0L)
  107.        { MsgBox( NULL,
  108.               MB_ICONSTOP | MB_OK,
  109.               "Winsock Error %s : Invalid IP Address",
  110.               SocketErrorMsg(WSAGetLastError()));
  111.          WSACleanup();
  112.          return FALSE;
  113.        }
  114.     }   
  115.   else // valid host name
  116.     { lpulIpAddr = (unsigned long FAR *) lphostent->h_addr;
  117.       ulIpAddr = *lpulIpAddr;
  118.     }  
  119.  
  120. Note that using unsigned long as above is non-portable to Win32; in Unix and I 
  121. assume Win32 the unsigned longs are replaced by ints.
  122.  
  123. Donald Munro (ccahdm@beluga.upe.ac.za)
  124. Computing Centre, University of Port Elizabeth
  125. From news@bigblue.oit.unc.edu Fri Mar 18 00:30:58 1994
  126. Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  127.           id AA08796; Fri, 18 Mar 1994 00:30:58 -0500
  128. Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
  129.           id AA08680; Fri, 18 Mar 1994 00:30:36 -0500
  130. Received: from GATEWAY by bigblue with netnews
  131.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  132. To: winsock@sunsite.unc.edu
  133. Date: Thu, 17 Mar 1994 16:08:10
  134. From: stevenmz@teleport.com (Steven M. Ziuchkovski)
  135. Message-Id: <stevenmz.36.0010235B@teleport.com>
  136. Organization: The Falcon's Nest
  137. Sender: ses
  138. Subject: Error code 10035 from GetHostByName()
  139.  
  140. I wrote a simple program to accept input from the user in the form of 
  141. "oak.oakland.edu" (an IP address in text form), and figure out what the 
  142. numerical address is (in this case, 141.210.10.117).
  143.  
  144. At one time, the program worked well, but now GetHostByName() is returning an 
  145. error code of 10035. What error is that? In the documentation I have, it says 
  146. that it's the same as in BSD. Well, sorry to say, I do not have the 
  147. documentation on BSD. So could someone elaborate?
  148.  
  149. Steve
  150.  
  151. ---
  152.                                   ///      
  153. Steven Ziuchkovski               (0 0)            stevenmz@teleport.com
  154. ------------------------------ooO-(_)-Ooo------------------------------
  155.  
  156.